package com.weichen.studentgameexchange.common;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class},
        scanBasePackages = "com.weichen.studentgameexchange.common")
@EnableDiscoveryClient
public class StudentGameExchangeCommonApplication {

    public static void main(String[] args) {
        SpringApplication.run(StudentGameExchangeCommonApplication.class, args);
    }

}
